<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>欢迎登录后台管理系统</title>
<link href="__STATIC__/Admin/css/base.css" rel="stylesheet" type="text/css" />
<link href="__STATIC__/Admin/css/right.css" rel="stylesheet" type="text/css">
<link href="__STATIC__/css/page.css" rel="stylesheet" type="text/css">
<script language="JavaScript" src="__STATIC__/js/jquery-2.1.1.min.js"></script>
<script>
$(document).ready(function(){
   $(function(){
      $('.rightinfo tbody tr:odd').css("backgroundColor","#f5f8fa");
   });

//   $(".imgact2").click(function(){
//	   var id=$(this).parent().find("input[name='id']").val();
//	   var img=($(this).attr("src")=='__STATIC__/Admin/image/no.gif') ? "__STATIC__/Admin/image/yes.gif":"__STATIC__/Admin/image/no.gif";
//	   $(this).attr("src",img);
//	 //处理
//   });
});
</script>
</head>

<body>
<div class="place"> <span>位置：</span>
  <ul class="placeul">
    <li><a href="{:url('Index/center')}">首页</a></li>
    <li><a href="{:url('User/index')}">用户管理</a></li>
    <li>竞猜记录</li>
  </ul>
</div>
<div class="rightinfo">
  
  <table class="tablelist">
    <thead>
      <tr>
        <th>期数</th>
        <th>场次</th>
        <th>下注金额</th>
        <th>输赢</th>
        <th>下注信息</th>
        <th>开奖号码</th>
        <th>开奖结果</th>
        <th>时间</th>
      </tr>
    </thead>
    <tbody>
    
    {volist name="list" id="v"}
      <tr height="45" align="center">
        <td>{$v['name']}</td>
        <td>
        
        {if($v['type']==1)}
							大小场
							{/if}
							{if($v['type']==2)}
							大小单双场
							{/if}
							{if($v['type']==3)}
							精确场
							{/if}
        </td>
        <td>{$v['money']/100}</td>
        <td>
        {if($v['is_ying']==1)}
						<font class="floatRight margin-top10"style="color: red;font-size: 1.6rem;">获得{$v['ying_money']}元</font>
						{else}
						<font class="floatRight margin-top10"style="color: green;font-size:1.6rem;">输掉{$v['ying_money']}元</font>
						{/if}
        </td>
        <td>{$v['jc_name']}</td>
        <td>{$v['result']}</td>
        <td>{$v['res_name']}</td>
        <td>{$v['create_time']}</td>
      </tr>
      {/volist}
    </tbody>
  </table>
</div>
<div class="pages">
  <a>首页</a>
  <a>上一页</a>
  <a>下一页</a>
  
</div>
<div class="pages">
  {if($page)}
	<font>共{$page}条数据</font>
	{else}
	<font color='#ff0000'>暂无数据</font>
	{/if}
</div>
</body>

</html>